Skip to content

[006] Solution GY4QF#80

Open
Ilia Alenabi (iliall) wants to merge 1 commit into
mainfrom
task-006/sol-GY4QF
Open

[006] Solution GY4QF#80
Ilia Alenabi (iliall) wants to merge 1 commit into
mainfrom
task-006/sol-GY4QF

Conversation

@iliall

Copy link
Copy Markdown
Collaborator

Agent-Generated Summary

Built a Flask HTTP API service in app.py that parses 22 Pittsburgh venues from assets/data.md. Implemented endpoints: GET /categories for category groups, GET/POST/DELETE /preferences for persisting cuisine types, dietary options, facilities, and keyword filters, GET /venues/search for filtered and sorted results with distance calculations and travel times, and GET /venues/ for venue details with up to 8 hashtag badges. Status follows the rule that any non-Open value means Closed. Distances under 0.6 miles display in feet rounded to nearest 50, otherwise miles with 1 decimal. Driving time uses 22 mph, walking 3 mph, rounded up. The default coordinates 40.4406, -79.9959 are used when no user coordinates are supplied, and the response indicates this. Filtering uses multi-select per section with AND logic between sections. Keyword matching implements all specified rules including case-insensitive hyphen-equivalent comparisons.


Completion time: ~224 seconds


This pull request is solution GY4QF for issue #6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant